package com.cloudptt.api.product.func.lbs;

import com.cloudptt.api.product.log.Log;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class LBSBroadcast extends BroadcastReceiver {
	public final static String THIS_FILE = "LBSAgent";

	private Context ctx = null;

	public LBSBroadcast(Context ctx) {
		this.ctx = ctx;
	}

	@Override
	public void onReceive(Context context, Intent intent) {
		String action = intent.getAction();
		Log.d(THIS_FILE, "onReceive:Action is " + action);

	}


	
	public void clearResource() {
		Log.d(THIS_FILE, "LBSBroadcast clearResource");
		//		listener.destoryRefresh();
//		this.ctx.unregisterReceiver(this);
		this.ctx = null;
//		this.listener = null;
	}

}
